from rest_framework.serializers import ModelSerializer
from rest_framework import serializers
from .models import *

class NwesSer(ModelSerializer):
    class Meta:
        model = News
        fields = '__all__'
class UsersSer(ModelSerializer):
    class Meta:
        model = Users
        fields = '__all__'